package net.pimpas.persistence.hibernate.visitor;

import java.util.ArrayList;
import java.util.List;

import net.pimpas.core.visitor.BaseClassVisitor;
import net.pimpas.persistence.filter.ann.Filter;
import net.pimpas.util.reflection.ReflectionUtil;

public class FilterVisitor extends BaseClassVisitor {
	
	public static final List<Class> clazzs = new ArrayList<Class>();

	@Override
	public void visitClass(Class clazz) {
		if(ReflectionUtil.checkAnnotationInClass(Filter.class, clazz))
			clazzs.add(clazz);
	}
}